package com.sjq.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sjq.supplier.entity.Order;
import com.sjq.supplier.entity.Warehouseinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * (Warehouseinfo)表数据库访问层
 *
 * @author makejava
 * @since 2024-01-02 14:54:53
 */
public interface WarehouseinfoMapper extends BaseMapper<Warehouseinfo> {

    List<Map<String, Object>> selectAll(@Param("warehouseinfo") Warehouseinfo warehouseinfo, @Param("limit") Integer limit, @Param("page")  Integer page,@Param("username") String username);

    Long selectAllCount(@Param("warehouseinfo") Warehouseinfo warehouseinfo,@Param("username") String username);
}

